package builder;/*
 * @auther 顶风少年
 * @mail dfsn19970313@foxmail.com
 * @date 2019-07-25 17:42
 * @notify
 * @version 1.0
 */

public class Director {
    private Builder builder;

    public Product construct() {
        builder = new ConcreteBuilder();
        builder.buildPart1();
        builder.buildPart2();
        return builder.retrieveResult();
    }
}
